<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" ng-click="cancel()">&times;</button>
	<p class="modal-title panel-title-size">编辑角色</p>
</div>
<div class="modal-body panel-body">
	<form class="form-horizontal form-validation user-form" name="updateRoleForm">
		<div class="form-group">
			<div class="col-lg-12">
				<label class="col-lg-2 control-label"><span>*</span>角色名称：</label>
				<div class="col-lg-10 control-input">
					<input type="text" name="name" class="form-control" ng-model="updateData.name" validator="required,name" maxlength="64" maxlength-error-message="最多输入64个字符">
				</div>
			</div>
		</div>
		<div class="form-group">
			<div class="col-lg-12">
				<label class="col-lg-2 control-label">角色描述：</label>
				<div class="col-lg-10 control-input">
					<textarea class="form-control" name="remark" ng-model="updateData.remark" maxlength="256" maxlength-error-message="最多输入256个字符"></textarea>
				</div>
			</div>
		</div>
	</form>
</div>
<div class="modal-footer">
	<button type="submit" class="btn btn-info" validation-submit="updateRoleForm" ng-disabled="updateRoleForm.$invalid||isLoadingActive" ng-click="ok()">确认</button>
	<button class="btn btn-cancel" ng-click="cancel()">取消</button>
</div>


<!--
<div class="modal-header">
	<h3 class="modal-title">编辑角色</h3>
</div>
<div class="modal-body panel-body">
	<form class="bs-example form-horizontal form-validation" name="updateRoleForm">
		<div class="form-group">
			<label class="col-lg-2 control-label padding-7">角色名称</label>
			<div class="col-lg-10">
				<input type="text" name="name" class="form-control" ng-model="updateData.name" validator="required,name" maxlength="64" maxlength-error-message="最多输入64个字符">
			</div>
		</div>
		<div class="form-group">
			<label class="col-lg-2 control-label padding-7">角色描述</label>
			<div class="col-lg-10">
				<textarea class="form-control" name="remark" ng-model="updateData.remark" maxlength="256" maxlength-error-message="最多输入256个字符"></textarea>
			</div>
		</div>
	</form>
</div>
<div class="modal-footer">
	<button class="btn btn-default" ng-click="cancel()">取消</button>
	<button class="btn btn-success" validation-submit="updateRoleForm" ng-disabled="updateRoleForm.$invalid" ng-click="ok()">确认</button>
</div>-->
